package com.jpxx.jpscp.admin.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jpxx.jpscp.admin.system.entity.UserRole;
import com.jpxx.jpscp.core.common.annotation.MyBatisDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @Description:
 * @author: Zhaopengfei
 * @copyright: 金鹏信息技术有限公司
 * @CreatedDate: 2018年03月14日 15:24
 * @Copyright: All rights Reserved，Designed By Jpsycn
 */
@MyBatisDao
public interface UserRoleMapper extends BaseMapper<UserRole> {

        List<UserRole> selectByUserIds(@Param("userIds") List<String> userIds);

        int insertBatch(@Param("userId") String userId, @Param("roleIds") List<String> roleIds);
}
